GtkDialog: Baseline align buttons in action area
authorAlexander Larsson <alexl@redhat.com>
Tue, 26 Mar 2013 10:46:55 +0000 (11:46 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 23 Apr 2013 03:58:07 +0000 (05:58 +0200)
gtk/gtkdialog.c

index 06cff85714f046465e4cf455c9909b25c92b4f79..2d0e289dc3d0178a44920c5504832b0973555ca7 100644 (file)
@@ -744,6 +744,7 @@ gtk_dialog_add_button (GtkDialog   *dialog,
   button = gtk_button_new_from_stock (button_text);
 
   gtk_widget_set_can_default (button, TRUE);
+  gtk_widget_set_valign (button, GTK_ALIGN_BASELINE);
 
   gtk_widget_show (button);